package com.dify.tool.api.common;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author shl
 * @date 2024-06-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class PageRequest extends BaseRequest {
    /**
     * 当前页
     */
    private long page;
    /**
     * 每页条数
     */
    private long pageSize;
    /**
     * 排序字段集合
     */
    private List<String> orderFields;
    /**
     * 升序或降序
     * desc：降序
     * asc：升序
     */
    private String sort;
}
